home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / parasite-x.swf / scripts / frame_22 / PlaceObject2_95_1 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Text File  |  2011-10-17  |  374b  |  20 lines

  1. onClipEvent(load){
  2.    function reset()
  3.    {
  4.       if(this._name == "bad")
  5.       {
  6.          this._visible = false;
  7.       }
  8.       else
  9.       {
  10.          this._visible = true;
  11.       }
  12.       this.dead = 0;
  13.       this.speed1 = Math.random(6) + 1;
  14.       this._y = random(0) + -410;
  15.       this._x = random(650);
  16.       this.gotoAndStop(1);
  17.    }
  18.    this.reset();
  19. }
  20.